package com.itheima.health.dao;

import com.github.pagehelper.Page;
import com.itheima.health.pojo.Permission;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface PermissionDao extends Mapper<Permission> {
    List<Permission> findById(Integer id);

    Page<Permission> findPage(String queryString);

    Permission findByName(String name);

    Permission findById1(Integer id);

    int deleteById(Integer id);
}
